Bounded Quantiication with Bottom
نویسنده
چکیده
While numerous extensions of Cardelli and Wegner's calculus of polymorphism and subtyping, Kernel Fun, have been studied during the past decade, one quite simple one has received little attention: the addition of a minimal type Bot, dual to the familiar maximal type Top. We develop basic meta-theory for this extension. Although most of the usual properties of Kernel Fun (existence of meets and joins, decidability of subtyping and typing, subject reduction, etc.) also hold for the extended system, the presence of Bot introduces some surprising intricacies. In particular, a type variable bounded by Bot is actually a synonym for Bot; such \bottom variables" must be treated specially at several points.
منابع مشابه
Completely Bounded Quantiication Is Decidable
This paper proves the decidability of subtyping for F when the bounds on polymorphic types do not contain Top (i.e., in all types of the form 8<: 1 :: 2 , 1 does not contain Top). This general restriction is subsequently relaxed to allow unbounded quantiication.
متن کاملIntersection Types and Bounded Polymorphism
Intersection types and bounded quantiication are complementary extensions of a rst-order programming language with subtyping. We deene a typed-calculus combining these extensions, illustrate its unusual properties, and develop basic proof-theoretic and semantic results leading to algorithms for subtyping and typechecking.
متن کاملParallel Bounded Quantiication|preliminary Results
We have extended D. H. D. Warren's abstract machine for sequential Prolog with parallel instructions that implement bounded quantiica-tions, an extension to Prolog proposed by Barklund and Bevemyr. These instructions are intended for parallel computers supporting the data parallel programming model. Luther, an emulator for the sequential abstract machine implemented in the C programming languag...
متن کاملBounded Existentials and Minimal Typing
We study an extension of the second-order calculus of bounded quantiication, System F , with bounded existential types. Surprisingly, the most natural formulation of this extension lacks the important minimal typing property of F , which ensures that the set of types possessed by a typeable term can be characterized by a single least element. We consider alternative formulations and give an alg...
متن کاملProlog with Arrays and Bounded Quanti
It is proposed to add bounded quantiications to Prolog. The main reason is one of natural expression, many algorithms are expressed more elegantly in a declarative way using bounded quantiications than using existing means, i.e., recursion. In particular this is true for numerical algorithms, an area where Prolog has been virtually unsuccessful so far. Moreover, bounded quantiication has been f...
متن کامل